package com.hong.spring.server.testapp;

import com.hong.spring.dao.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class HelloServantImpl implements HelloServant {

    @Autowired
    private UserMapper userMapper;

    @Override
    public String hello(int no, String name) {
        return String.format("hello no=%s, name=%s, time=%s", no, name, System.currentTimeMillis());
    }
}